package com.qiaofang.collectmanage.stub.constants;

public enum CrawlerTaskResponseCode {

    RC_PARAMETER_ERROR("collectrule001","parameter invalid"),
    RC_SAVE_ERROR("collectrule001","parameter invalid"),
    RC_UPDATE_ERROR("collectrule001","parameter invalid"),
    RC_REMOVE_ERROR("collectrule001","parameter invalid"),
    RC_EXCEPTION_ERROR("collectrule002","service exception");

    private String responseCode;
    private String responseMessage;

    CrawlerTaskResponseCode(String responseCode, String responseMessage){
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

}
